﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Interface_Tier;
using Transfer_Object_Tier;
using System.Data;
using Data_Access_Tier;


namespace Business_Tier
{
    public class BT_HRM_EMPLOYEE_RELATIVEData : MarshalByRefObject, IHRM_EMPLOYEE_RELATIVEData
    {
        HRM_EMPLOYEE_RELATIVEData HRM_EMPLOYEE_RELATIVE = new HRM_EMPLOYEE_RELATIVEData();

        public int HRM_EMPLOYEE_RELATIVE_Delete(string EmployeeCode)
        {
            return HRM_EMPLOYEE_RELATIVE.HRM_EMPLOYEE_RELATIVE_Delete(EmployeeCode);
        }
        public int HRM_EMPLOYEE_RELATIVE_Disable(Guid PersonID, ref bool Enabled)
        {
            return 1;
        }
        public System.Data.DataSet HRM_EMPLOYEE_RELATIVE_Get(Guid PersonID)
        {
            return HRM_EMPLOYEE_RELATIVE.HRM_EMPLOYEE_RELATIVE_Get(PersonID);
        }
        public System.Data.DataSet HRM_EMPLOYEE_RELATIVE_GetList(string EmployeeCode)
        {
            return HRM_EMPLOYEE_RELATIVE.HRM_EMPLOYEE_RELATIVE_GetList(EmployeeCode);
        }
        public int HRM_EMPLOYEE_RELATIVE_Insert(Guid PersonID, string EmployeeCode, string PersonName, string Relative, string Address, string Email, string Phone, bool IsDepend)
        {
            return HRM_EMPLOYEE_RELATIVE.HRM_EMPLOYEE_RELATIVE_Insert(PersonID,EmployeeCode,PersonName,Relative,Address,Email,Phone,IsDepend);
        }
        public int HRM_EMPLOYEE_RELATIVE_Save(Guid PersonID, string EmployeeCode, string PersonName, string Relative, string Address, string Email, string Phone, bool IsDepend)
        {
            return HRM_EMPLOYEE_RELATIVE.HRM_EMPLOYEE_RELATIVE_Save(PersonID, EmployeeCode, PersonName, Relative, Address, Email, Phone, IsDepend);
        }
        public int HRM_EMPLOYEE_RELATIVE_Update(Guid PersonID, string EmployeeCode, string PersonName, string Relative, string Address, string Email, string Phone, bool IsDepend)
        {
            return HRM_EMPLOYEE_RELATIVE.HRM_EMPLOYEE_RELATIVE_Update(PersonID, EmployeeCode, PersonName, Relative, Address, Email, Phone, IsDepend);
        }
    }
}
